@import '@/styles/variables.scss'; // 变量

/*页面重置代码*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-size: $font-size;
  color: $color-primary;
  vertical-align: baseline;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragion Sans GB, Microsoft YaHei, sans-serif;
}

::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px !important;
  background: $color-gradient-blue !important;
}

::-webkit-scrollbar-track {
  background: rgba(24, 173, 255, .1) !important;
}

em,
i {
  font-style: normal;
  overflow: hidden;
}

li {
  list-style: none;
  text-decoration: none;
}

img {
  border: 0;
  vertical-align: middle;
}

button,
input,
a,
select {
  cursor: pointer;
  outline: none;
}

a {
  color: $color-primary;
}

a:hover {
  color: $color-primary;
}

::-webkit-input-placeholder {
  color: $color-white;
}

:-ms-input-placeholder {
  color: $color-white;
}

table,
tbody,
tr,
td {
  padding: 0;
  margin: 0;
  list-style: none;
}

img {
  display: block;
  transition: all .2s ease;
}

// 字体粗细
.font-500 {
  font-weight: 500;
}

.font-600 {
  font-weight: 600;
}

.font-bold {
  font-weight: bold;
}

// 字体颜色
.color-white {
  color: #fff;
}

.color-red {
  color: #f00;
}

.color-black {
  color: #000;
}

.color-springGreen {
  color: #33a6ad;
}

.color-chocolate {
  color: #f2691e;
}

// 字体大小
.fz-16 {
  font-size: 16px;
}

.fz-18 {
  font-size: 18px;
}

.fz-20 {
  font-size: 20px;
}

.fz-22 {
  font-size: 22px;
}

.fz-25 {
  font-size: 25px;
}

.fz-30 {
  font-size: 30px;
}

.fz-35 {
  font-size: 35px;
}

.fz-40 {
  font-size: 40px;
}

.inline-block {
  display: inline-block;
}

.cursor-pointer {
  cursor: pointer;
}

/* 按钮 */
.btn {
  display: inline-block;
  padding: 8px 30px;
  cursor: pointer;
  margin: 5px;
  border-radius: $border-radius;
  border: 1px solid $color-white;
  text-align: center;

  &.btn-white {
    background-color: $color-white;
  }

  &.btn-ghost {
    // background-color: transparent;
    color: $color-white;
  }

  &.btn-blue {
    background-color: $color-blue;
    border-color: $color-blue;
  }

  &:hover {
    opacity: .9;
  }

  &:active {
    opacity: .8;
  }
}

.cesium-performanceDisplay-defaultContainer {
  position: absolute;
  top: 123px;
  right: 10px;
  text-align: right;
}
